home *** CD-ROM | disk | FTP | other *** search
/ Java Certification Exam Guide / McGrawwHill-JavaCertificationExamGuide.iso / pc / Web Links and Code / exer / chap6 / exer0604 / Employee.java
Encoding:
Text File  |  1997-04-19  |  170 b   |  13 lines

  1. class Employee {
  2.    private String id;
  3.    Employee (String id) {
  4.      this.id = id;
  5.    }
  6. }
  7.  
  8. class Movie {
  9.    String name;
  10.    boolean thumbsUp;
  11.    int year;
  12. }
  13.